package hcn.cmc.bean.response;


import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * @Description: 检验报告出参
 * @Author: zhaorb
 * @Date: 2020/12/18 14:55
 **/
@XmlRootElement(name = "Data")
public class ExamSkillReportDetailResp {
    private long total;
    private List<HospitalLabReport> list;

    @XmlElement(name = "Total")
    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }


    @XmlElementWrapper(name = "InspectionTestRecords")
    @XmlElement(name = "InspectionTestRecord")
    public List<HospitalLabReport> getList() {
        return list;
    }

    public void setList(List<HospitalLabReport> list) {
        this.list = list;
    }


    public static class HospitalLabReport {
        private String inspectId;
        private String inspectName;
        private String inspectTime;
        private String inspectStatus;
        private String reportTime;
        private String examTime;
        private String departmentCode;
        private String departmentName;
        private String doctorCode;
        private String doctorName;
        private String executeDepartmentCode;
        private String executeDepartmentName;
        private String reporter;
        private String auditor;
        private String hospitalName;
        private String orgId;
        private String source;
        private String sampleType;
        private String patientName;
        private String sex;
        private List<HospitalLabReport.InspectionItemsBean> inspectionItems;
        private List<HospitalLabReport.PlantResultsBean> plantResults;
        private List<HospitalLabReport.AntiResultsBean> antiResults;

        @XmlElementWrapper(name = "PlantResults")
        @XmlElement(name = "PlantResult")
        public List<HospitalLabReport.PlantResultsBean> getPlantResults() {
            return this.plantResults;
        }

        public void setPlantResults(List<HospitalLabReport.PlantResultsBean> plantResults) {
            this.plantResults = plantResults;
        }

        @XmlElementWrapper(name = "BioResults")
        @XmlElement(name = "BioResult")
        public List<HospitalLabReport.AntiResultsBean> getAntiResults() {
            return this.antiResults;
        }

        public void setAntiResults(List<HospitalLabReport.AntiResultsBean> antiResults) {
            this.antiResults = antiResults;
        }

        @XmlElementWrapper(name = "TestResults")
        @XmlElement(name = "TestResult")
        public List<InspectionItemsBean> getInspectionItems() {
            return inspectionItems;
        }

        public void setInspectionItems(List<InspectionItemsBean> inspectionItems) {
            this.inspectionItems = inspectionItems;
        }

        @XmlElement(name = "VisitOrganization")
        public String getOrgId() {
            return orgId;
        }

        public void setOrgId(String orgId) {
            this.orgId = orgId;
        }
        @XmlElement(name = "VisitOrganizationName")
        public String getHospitalName() {
            return hospitalName;
        }

        public void setHospitalName(String hospitalName) {
            this.hospitalName = hospitalName;
        }

        @XmlElement(name = "PatientType")
        public String getSource() {
            return source;
        }

        public void setSource(String source) {
            this.source = source;
        }

        @XmlElement(name = "Name")
        public String getPatientName() {
            return patientName;
        }

        public void setPatientName(String patientName) {
            this.patientName = patientName;
        }


        @XmlElement(name = "Sex")
        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }


        @XmlElement(name = "ReportId")
        public String getInspectId() {
            return inspectId;
        }

        public void setInspectId(String inspectId) {
            this.inspectId = inspectId;
        }

        @XmlElement(name = "LabOrderItemName")
        public String getInspectName() {
            return inspectName;
        }

        public void setInspectName(String inspectName) {
            this.inspectName = inspectName;
        }

        @XmlElement(name = "SampleTestTime")
        public String getInspectTime() {
            return inspectTime;
        }

        public void setInspectTime(String inspectTime) {
            this.inspectTime = inspectTime;
        }


        @XmlElement(name = "ReportDept")
        public String getDepartmentCode() {
            return departmentCode;
        }

        public void setDepartmentCode(String departmentCode) {
            this.departmentCode = departmentCode;
        }

        @XmlElement(name = "ReportDeptName")
        public String getDepartmentName() {
            return departmentName;
        }

        public void setDepartmentName(String departmentName) {
            this.departmentName = departmentName;
        }

        @XmlElement(name = "ReportResultStatus")
        public String getInspectStatus() {
            return inspectStatus;
        }

        public void setInspectStatus(String inspectStatus) {
            this.inspectStatus = inspectStatus;
        }

        @XmlElement(name = "ReportTime")
        public String getReportTime() {
            return reportTime;
        }

        public void setReportTime(String reportTime) {
            this.reportTime = reportTime;
        }


        @XmlElement(name = "ReportCheckTime")
        public String getExamTime() {
            return examTime;
        }

        public void setExamTime(String examTime) {
            this.examTime = examTime;
        }


        @XmlElement(name = "RequestDoctorCode")
        public String getDoctorCode() {
            return doctorCode;
        }

        public void setDoctorCode(String doctorCode) {
            this.doctorCode = doctorCode;
        }

        @XmlElement(name = "RequestDoctorName")
        public String getDoctorName() {
            return doctorName;
        }

        public void setDoctorName(String doctorName) {
            this.doctorName = doctorName;
        }


        @XmlElement(name = "ReportDept")
        public String getExecuteDepartmentCode() {
            return executeDepartmentCode;
        }

        public void setExecuteDepartmentCode(String executeDepartmentCode) {
            this.executeDepartmentCode = executeDepartmentCode;
        }

        @XmlElement(name = "ReportDeptName")
        public String getExecuteDepartmentName() {
            return executeDepartmentName;
        }

        public void setExecuteDepartmentName(String executeDepartmentName) {
            this.executeDepartmentName = executeDepartmentName;
        }


        @XmlElement(name = "ReportDoctor")
        public String getReporter() {
            return reporter;
        }

        public void setReporter(String reporter) {
            this.reporter = reporter;
        }

        @XmlElement(name = "ReportChecker")
        public String getAuditor() {
            return auditor;
        }

        public void setAuditor(String auditor) {
            this.auditor = auditor;
        }


        @XmlElement(name = "SampleTypeName")
        public String getSampleType() {
            return sampleType;
        }

        public void setSampleType(String sampleType) {
            this.sampleType = sampleType;
        }

        public static class InspectionItemsBean {
            private String itemId; //检验项目代码
            private String itemName;
            private String result;
            private String refRange;
            private String resultUnit;
            private String abnormal;
            private String referenceLow;
            private String referenceHigh;

            @XmlElement(name = "ReferenceLow")
            public String getReferenceLow() {
                return referenceLow;
            }

            public void setReferenceLow(String referenceLow) {
                this.referenceLow = referenceLow;
            }
            @XmlElement(name = "ReferenceHigh")
            public String getReferenceHigh() {
                return referenceHigh;
            }

            public void setReferenceHigh(String referenceHigh) {
                this.referenceHigh = referenceHigh;
            }

            @XmlElement(name = "TestId")
            public String getItemId() {
                return itemId;
            }

            public void setItemId(String itemId) {
                this.itemId = itemId;
            }

            @XmlElement(name = "TestName")
            public String getItemName() {
                return this.itemName;
            }

            public void setItemName(String itemName) {
                this.itemName = itemName;
            }
            @XmlElement(name = "TestResult")
            public String getResult() {
                return this.result;
            }

            public void setResult(String result) {
                this.result = result;
            }
            @XmlElement(name = "ReferenceRange")
            public String getRefRange() {
                return this.refRange;
            }

            public void setRefRange(String refRange) {
                this.refRange = refRange;
            }
            @XmlElement(name = "ResultUnit")
            public String getResultUnit() {
                return this.resultUnit;
            }

            public void setResultUnit(String resultUnit) {
                this.resultUnit = resultUnit;
            }
            @XmlElement(name = "ResultHint")
            public String getAbnormal() {
                return this.abnormal;
            }

            public void setAbnormal(String abnormal) {
                this.abnormal = abnormal;
            }
        }

        public static class AntiResultsBean {
            private String bioNmae;
            private String bioQuantity;
            private String bioUnit;
            private String expertsPrompt;
            private List<HospitalLabReport.AntiResultsBean.AntiItemsBean> antiItems;

            public AntiResultsBean() {
            }

            @XmlElement(name = "BioName")
            public String getBioNmae() {
                return this.bioNmae;
            }

            public void setBioNmae(String bioNmae) {
                this.bioNmae = bioNmae;
            }

            @XmlElement(name = "BioQuantity")
            public String getBioQuantity() {
                return this.bioQuantity;
            }

            public void setBioQuantity(String bioQuantity) {
                this.bioQuantity = bioQuantity;
            }

            @XmlElement(name = "BioUnit")
            public String getBioUnit() {
                return this.bioUnit;
            }

            public void setBioUnit(String bioUnit) {
                this.bioUnit = bioUnit;
            }

            @XmlElement(name = "BioRemarks")
            public String getExpertsPrompt() {
                return this.expertsPrompt;
            }

            public void setExpertsPrompt(String expertsPrompt) {
                this.expertsPrompt = expertsPrompt;
            }


            @XmlElementWrapper(name = "AntiResults")
            @XmlElement(name = "AntiResult")
            public List<HospitalLabReport.AntiResultsBean.AntiItemsBean> getAntiItems() {
                return this.antiItems;
            }

            public void setAntiItems(List<HospitalLabReport.AntiResultsBean.AntiItemsBean> antiItems) {
                this.antiItems = antiItems;
            }

            public static class AntiItemsBean {
                private String antiName;
                private String antiMethod;
                private String KBResult;
                private String MICResult;
                private String ETESTResult;
                private String resultUnit;
                private String result;

                public AntiItemsBean() {
                }

                @XmlElement(name = "AntiName")
                public String getAntiName() {
                    return this.antiName;
                }

                public void setAntiName(String antiName) {
                    this.antiName = antiName;
                }

                @XmlElement(name = "AntiEaxmMethod")
                public String getAntiMethod() {
                    return this.antiMethod;
                }

                public void setAntiMethod(String antiMethod) {
                    this.antiMethod = antiMethod;
                }

                @XmlElement(name = "KBResult")
                public String getKBResult() {
                    return KBResult;
                }

                public void setKBResult(String KBResult) {
                    this.KBResult = KBResult;
                }

                @XmlElement(name = "MICResult")
                public String getMICResult() {
                    return MICResult;
                }

                public void setMICResult(String MICResult) {
                    this.MICResult = MICResult;
                }

                @XmlElement(name = "ETESTResult")
                public String getETESTResult() {
                    return ETESTResult;
                }

                public void setETESTResult(String ETESTResult) {
                    this.ETESTResult = ETESTResult;
                }

                @XmlElement(name = "AntiResultUnit")
                public String getResultUnit() {
                    return this.resultUnit;
                }

                public void setResultUnit(String resultUnit) {
                    this.resultUnit = resultUnit;
                }


                @XmlElement(name = "AntiResult")
                public String getResult() {
                    return result;
                }

                public void setResult(String result) {
                    this.result = result;
                }
            }
        }

        public static class PlantResultsBean {
            private String plantResultNo;
            private String plantName;
            private String plantResult;
            private String plantType;

            public PlantResultsBean() {
            }

            @XmlElement(name = "PlantTestId")
            public String getPlantResultNo() {
                return this.plantResultNo;
            }

            public void setPlantResultNo(String plantResultNo) {
                this.plantResultNo = plantResultNo;
            }

            @XmlElement(name = "PlantTestName")
            public String getPlantName() {
                return this.plantName;
            }

            public void setPlantName(String plantName) {
                this.plantName = plantName;
            }

            @XmlElement(name = "PlantResult")
            public String getPlantResult() {
                return this.plantResult;
            }

            public void setPlantResult(String plantResult) {
                this.plantResult = plantResult;
            }

            @XmlElement(name = "PlantType")
            public String getPlantType() {
                return plantType;
            }
            public void setPlantType(String plantType) {
                this.plantType = plantType;
            }
        }
    }
}
